package com.yjd.comm.order.model;

import com.yjd.comm.base.model.Model;
import com.yjd.comm.enums.StagesStatusEnum;

/**
 * <b>description</b>：订单状态变更记录模型<br>
 * <b>time</b>：2017-08-11 17:31:18 <br>
 * <b>author</b>：  yangchangyan@yijiedai.com
 */
public class OrderStatusModel extends Model{

	/**
	* @Fields serialVersionUID
	*/
	private static final long serialVersionUID = 1L;

	public OrderStatusModel(){};
	public OrderStatusModel(Long order_id, StagesStatusEnum statusEnum,String order_event,Long create_time){
		this.order_id = order_id;
		this.order_status = statusEnum.getCode();
		this.order_event = order_event;
		this.create_time = create_time;
	}
	
	 /*
	  *唯一id 
	  */
	private Long id;
	 /*
	  *订单id  
	  */
	private Long order_id;
	 /*
	  *订单状态  1 申请成功  2 还款中 3，商户已确认-用户取消 4 还款完成   -1商户拒绝  -2 自助取消
            -3 商户确认取消   
	  */
	private Integer order_status;
	 /*
	  *订单事件 
	  */
	private String order_event;
	 /*
	  *操作时间 
	  */
	private Long create_time;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	public Long getOrder_id() {
		return order_id;
	}

	public void setOrder_id(Long order_id) {
		this.order_id = order_id;
	}

	public Integer getOrder_status() {
		return order_status;
	}

	public void setOrder_status(Integer order_status) {
		this.order_status = order_status;
	}

	public String getOrder_event() {
		return order_event;
	}

	public void setOrder_event(String order_event) {
		this.order_event = order_event;
	}

	public Long getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Long create_time) {
		this.create_time = create_time;
	}
}
